Spread Silverlight Documentation
Item Property (ICalcStorage<TKey,TValue>)


GrapeCity.CalcEngine Namespace > ICalcStorage<TKey,TValue> Interface : Item Property
Gets or sets the TValue at the specified id.
Syntax
'Declaration
 
Default Property Item( _
   ByVal id As TKey _
) As TValue
'Usage
 
Dim instance As ICalcStorage(Of TKey,TValue)
Dim id As TKey
Dim value As TValue
 
instance.Item(id) = value
 
value = instance.Item(id)
TValue this[ 
   TKey id
]; {get; set;}

Parameters

id

Property Value

A CalcIdentity indicates the data address.
Remarks
When get value, if item which is not existed, return a null reference (Nothing in Visual Basic). When set value, if id is not existed, means add a new item to storage.
See Also

Reference

ICalcStorage<TKey,TValue> Interface
ICalcStorage<TKey,TValue> Members